/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jmenu.dbmodels;

/**
 *
 * @author Roman
 */
public class MImage
{
    
    private Integer id;
    private int categoryId;
    private byte[] image;

    public MImage()
    {
    }

    public MImage(Integer id)
    {
        this.id = id;
    }

    public MImage(Integer id, int categoryId, byte[] image)
    {
        this.id = id;
        this.categoryId = categoryId;
        this.image = image;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public int getCategoryId()
    {
        return categoryId;
    }

    public void setCategoryId(int categoryId)
    {
        this.categoryId = categoryId;
    }

    public byte[] getImage()
    {
        return image;
    }

    public void setImage(byte[] image)
    {
        this.image = image;
    }

}
